//
//  BCPregnancyOnVC.m
//  BaoYouYou
//
//  Created by caobo56 on 2016/12/5.
//  Copyright © 2016年 caobo56. All rights reserved.
//

#import "BCPregnancyOnVC.h"

@interface BCPregnancyOnVC ()
@property (weak, nonatomic) IBOutlet UITextView *textView;

@end

@implementation BCPregnancyOnVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"孕期知识";
    if([self respondsToSelector:@selector(setEdgesForExtendedLayout:)])
    {
        self.edgesForExtendedLayout = UIRectEdgeNone;
    }
    self.textView.editable = NO;
    [self.textView setContentOffset:CGPointZero];

    // Do any additional setup after loading the view from its nib.
}
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = NO;
}

-(void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    self.navigationController.navigationBarHidden = YES;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
